package cn.glinks.liuhe.widget.timeline;

import android.support.v7.widget.AppCompatTextView;
import android.support.v7.widget.RecyclerView;
import android.view.View;
import android.widget.LinearLayout;
import android.widget.TextView;

import com.github.vipulasri.timelineview.TimelineView;

import butterknife.BindView;
import butterknife.ButterKnife;
import cn.glinks.liuhe.R;

public class TimeLineViewHolder extends RecyclerView.ViewHolder {

    @BindView(R.id.tv_year)
    TextView mYearTextView;
    @BindView(R.id.tv_date)
    TextView mDateTextView;
    @BindView(R.id.ll_result)
    LinearLayout mResultButton;
    @BindView(R.id.tv_timeline_marker)
    TimelineView mTimelineView;
    @BindView(R.id.actv_result)
    AppCompatTextView mResultTextView;

    public TimeLineViewHolder(View itemView, int viewType) {
        super(itemView);

        ButterKnife.bind(this, itemView);
        mTimelineView.initLine(viewType);
    }
}
